<template>
	<view>
		<view class="top-box">
			<image src="../../static/images/userBg.png"></image>
		</view>
		<view class="padd-box">
			<view class="data-box flexWrap">
				<view class="data-item flexWarpCenterColumn">
					<view>3523</view>
					<view class="data-title">佣金总余额</view>
				</view>
				<view class="data-item flexWarpCenterColumn">
					<view>100</view>
					<view class="data-title">待入帐佣金</view>
				</view>
				<view class="data-item flexWarpCenterColumn">
					<view>3423</view>
					<view class="data-title">可提现佣金</view>
				</view>
			</view>
			<view class="team-box">
				<view class="team-item flexWrap" v-for="(item,index) in 10" :key="index">
					<view class="item-left">
						<view class="user-info">
							<view class="time">2024-04-15 21:18:33</view>
							<view class="income-box flexWrapNo" :class="{zc:index%2==0}">
								<text class="incom-label">{{index%2==0?'支出':'收入'}}</text>
								 500.00
							</view>
							<view class="icome-text">推荐XX成员会员的佣金</view>
						</view>
					</view>
					<view class="balance-box flexWrapNo">
						<text class="balance-label">余额</text>
						3000.00
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	page{
		background: #fff;
	}
	image{
		width: 100%;
		height: 100%;
	}
	.top-box{
		height: 300upx;
		position: relative;
	}
	.padd-box{
		padding:0 30upx;
		margin-top: -138upx;
		position: relative;
	}
	.data-box{
		height: 138rpx;
		background:rgba(255, 255, 255, 1);
		border-radius: 10rpx 10rpx 0rpx 0rpx;
		padding: 0 24upx;
		justify-content: space-around;
		.data-item{
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 36rpx;
			color: #04AC3C;
			.data-title{
				font-family: Segoe UI, Segoe UI;
				font-weight: 400;
				font-size: 28rpx;
				color: #6A6A6A;
			}
		}
	}
	.team-box{
		background: #F6F6F6;
		border-radius: 0rpx 0rpx 10rpx 10rpx;
		.team-item{
			border-bottom: 4upx solid #FFFFFF;
			padding: 20upx 27upx;
			.item-left{
				.head-img{
					width: 86upx;
					height: 86upx;
					border-radius: 50%;
					margin-right: 16upx;
				}
				.user-info{
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #474747;
					.time{
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 24rpx;
						color: #888888;
					}
					.income-box{
						.incom-label{
							width: 60rpx;
							height: 34rpx;
							line-height: 34upx;
							background: #FFFFFF;
							border-radius: 4upx;
							border: 1rpx solid #04AC3C;
							font-family: PingFang SC, PingFang SC;
							font-weight: 400;
							font-size: 20rpx;
							color: #04AC3C;
							text-align: center;
							margin-right: 6upx;
						}
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 32rpx;
						color: #04AC3C;
					}
					.zc{
						color: #FF7272;
						.incom-label{
							border: 1rpx solid #FF7272;
							color: #FF7272;
						}
					}
					.icome-text{
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 24rpx;
						color: #636363;
					}
				}
			}
			.balance-box{
				.balance-label{
					width: 60rpx;
					height: 34rpx;
					line-height: 34upx;
					background: #FFFFFF;
					border-radius: 4upx;
					border: 1rpx solid #FF7272;
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 20rpx;
					color: #FF7272;
					text-align: center;
					margin-right: 6upx;
				}
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 32rpx;
				color: #474747;
			}
		}
	}
</style>
